package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qf.pojo.DtsAdmin;
import org.springframework.stereotype.Service;

import java.util.List;


public interface AdminService {
    DtsAdmin findByUsernma(String username);


    IPage<DtsAdmin> selectByPage(Integer page, Integer limit, String username, String sort, String order);

    DtsAdmin update(DtsAdmin dtsAdmin);

    DtsAdmin insert(DtsAdmin dtsAdmin);

    void deleteById(Integer id);
}
